<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="h" uri="/head" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<h:head title="注册"></h:head>
<link type="text/css" rel="stylesheet" href="/style/register.css" />
<link type="text/css" rel="stylesheet" href="/style/base.css" />
<script type="text/javascript">
$(function(){
	$("#loginBtn").click(function(){
		var email = $.trim($("#email").val());
		var password = $.trim($("#password").val());
		if(!email) {
			$("#emailErr").html("Email不能为空");
			$("#email").focus();
			return;
		}
		$("#emailErr").html("");
		if(!isEmail(email)) {
			$("#emailErr").html("Email格式不正确");
			$("#email").focus();
			return;
		}
		$("#emailErr").html("");
		if(!password) {
			$("#pwdErr").html("密码不能为空");
			$("#password").focus();
			return;
		}
		$("#pwdErr").html("");
		$("#loginForm").submit();
	});
});
</script>
</head>

<body>
<!-- 头部 S -->
<div class="head_top">
    <p class="f12"><span class="fr"><a href="#" target="_blank" >登录</a>|<a href="#" target="_blank" >注册</a>|<a href="#" target="_blank" >免费发布信息</a></span></p>
</div>
<div class="head_mid">
    <span class="logo fl"><img src="/images/logo.gif" width="188" height="64" /></span>
    <span class="search fr">
        <input class="s_input fl" name="" type="text" value="请输入关键字" />
        <input class="s_button fl" name="" type="button" />
        <a class="publish fl" href="#" target="_blank"><img src="/images/publish_but.gif" width="132" height="31" /></a>
     </span>   
</div>	
<div class="banner">
    <div class="banner_con ">
    	<p class="nav fl ml40">	<a href="#">首  页</a><span></span><a href="#">个人挂证</a><span></span><a href="#">企业聘证书</a><span></span><a href="#">简历库</a><span></span><a href="#">行业资讯</a></p>
           <p class="phone fr f14 fb mr10">服务热线：12365847562</p>
     </div>
</div>
<!-- 头部 E -->
<!-- 注册 S -->
<div class="register">
	<span class="reg_top"></span>
    <div class="reg_mid">
    	<span class="reg_tit login_tit"><h1 class="fl">用户登录</h1></span>
        <div class="login_detail">
            <div class="login_left fl">
            <form id="loginForm" action="/login.shtml" method="post" class="mt30">
            	<fieldset>
                <legend>登录表单</legend>
                  <p class="reg_form"><span class="reg_name"><i>*</i><label for="name">Email：</label></span><span class="reg_input"><input class="reg_text" id="email" name="email" type="text" /></span><span id="emailErr" class="tishi"></span></p>
                   <p class="reg_form"><span class="reg_name"><i>*</i><label for="password">密 码：</label></span><span class="reg_input"><input class="reg_text" id="password" name="password" type="password" /></span><span id="pwdErr" class="tishi"></span></p>
                    <p class="reg_form_1 mt30 login_form"><span class="login_but"><input class="reg_button" id="loginBtn" name="" type="button" /></span><span class="login_pas pl10"><a href="#" target="_blank">忘记密码？</a></span></p>
             	</fieldset>
          </form>
            </div>
            <div class="login_right fr mr30 mt70">
            	<img src="/images/login_img.gif" width="285" height="64" border="0" />
                <a class="mt30 ml100" href="#" target="_blank"><img src="/images/login_reg.gif" width="118" height="36" /></a>
            </div>
        </div>
    </div>
    <span class="reg_bot"></span>
</div>
<!-- 注册  E -->
<!-- 底部 S -->
<div class="foot mt15">
	<div class="foot_detail">
    	<ul>
        	<li><a href="#" target="_blank">关于我们</a><span>|</span></li>
            <li><a href="#" target="_blank">免责声明 </a><span>|</span></li>
            <li><a href="#" target="_blank">广告与合作</a><span>|</span></li>
            <li><a href="#" target="_blank">置顶服务</a><span>|</span></li>
            <li><a href="#" target="_blank">申请友情链接</a></li>
        </ul>
        <p class="foot_text">本站是一个建筑企业与人才交流的中立平台，用户发布的招聘求职信息与本站无关！</p>
        <p class="foot_text mt10">业务咨询：15899663268；置顶咨询：0755-57410788；网站用户遇到困难请咨询QQ：46799598</p>
    </div>
</div>
<!-- 底部 E -->
</body>
</html>
